package com.xkdx.guangguang;

import android.content.Intent;
import android.os.Bundle;

import com.xkdx.caipiao.R;
import com.xkdx.guangguang.fragment.login.LoginFragment;

public class LoginActivity extends ManagerActivity {
	public static final int LOGIN_REQUEST = 0x001;
	public static final int LOGIN_SUCCESS = 0x002;
	public static final int LOGIN_FAIL = 0x003;
	public static final String JUMPTOME = "jump_to_me";

	@Override
	protected void onCreate(Bundle arg0) {
		// TODO Auto-generated method stub
		super.onCreate(arg0);
		Intent getIntent = getIntent();
		LoginFragment loginFragment = new LoginFragment();
		if (getIntent != null && getIntent.getExtras() != null) {
			loginFragment.setArguments(getIntent.getExtras());
		}
		getSupportFragmentManager().beginTransaction()
				.replace(R.id.fragment, loginFragment).commit();
	}

}
